<script setup>
	import {
		onLaunch
	} from '@dcloudio/uni-app'
	import userstore from '@/store/userinfo.js'
	import {
		storeToRefs
	} from 'pinia'
	const {
		userinfo,
	} = storeToRefs(userstore())

	const {
		queryUser
	} = userstore()
	onLaunch(() => {
		queryUser((data) => {
			console.log('登录状态', data, userinfo)
		})
	})
</script>

<style>
	/*每个页面公共css */
</style>